#include <string.h>
#include <stddef.h>

char *strchr(const char *s, int c)
{
    char *r = strchrnul(s, c);
	return *(unsigned char *)r == (unsigned char)c ? r : NULL;
}
